3 import java.rmi.Remote;
4 import java.rmi.RemoteException;
5 import java.util.Vector;
9 import domain.RuralHouse;
11 public interface AdminInterface extends Remote {
13 public Vector<RuralHouse> getAdditionRequests() throws RemoteException;
15 public Vector<RuralHouse> getDeletionRequests() throws RemoteException;
17 public Vector<Account> getOwnerAdditionRequests() throws RemoteException;
19 public Vector<Owner> getAllOwners() throws RemoteException;
21 public void removeHouseAdditionRequests(RuralHouse house)
22 throws RemoteException;
24 public void removeHouseDeletionRequests(RuralHouse house)
25 throws RemoteException;
27 public void removeOwnerAdditionRequests(int index) throws RemoteException;
29 public boolean addAdditionRequest(RuralHouse rh) throws RemoteException;
31 public boolean addDeletionRequest(RuralHouse rh) throws RemoteException;
33 public boolean addAccountRequest(String usr, String pss, Owner ow)
34 throws RemoteException;
36 public void saveInstance() throws RemoteException;